package test.service;

/**
 * 实际对象
 */

public class SubjectImp implements Subject {

	public SubjectImp() {
		System.out.println("创建SubjectImp对象了！");
	}

	/**
	 * 你好
	 *
	 * @param name
	 * @return
	 */
	public String SayHello(String name) {
		return "hello " + name;
	}

	/**
	 * 再见
	 *
	 * @return
	 */
	public String SayGoodBye() {
		return " good bye ";
	}
}